package text;

import com.projectName.www.dao.*;
import com.projectName.www.po.User;
import com.projectName.www.service.CtmServiceImpl;
import com.projectName.www.service.SlrServiceImpl;
import com.projectName.www.service.UserService;
import com.projectName.www.service.UserServiceImpl;

import java.math.BigDecimal;

public class test00 {
    public static void main(String[] args) {

        DishDao dd = new DishDaoImpl();
        UserDao ud = new UserDaoImpl();

        UserService us=new UserServiceImpl();

        RemarkDao rd=new RemarkDaoImpl();
        SlrServiceImpl ss=new SlrServiceImpl();

        ComplaintDao cd=new ComplaintDaoImpl();
        CtmServiceImpl cus=new CtmServiceImpl();
        OrderDao od=new OrderDaoImpl();
        us.addMoney("1", new BigDecimal("600"));
        //调试dd
//        ud.insert(new User(1,"administrator","administrator"));
        //调试slr
        //调试dish insert--> String dame, Integer typeid, Timestamp dTime, BigDecimal dPrice, int dNum, int dSum, String dImg
        /*Dish dish =new Dish("shit",1,new Timestamp(System.currentTimeMillis()),new BigDecimal("11.11"),1,1,null);



        DishDao dd=new DishDaoImpl();
        dd.insert(dish);
*/

        /*OrderDao od=new OrderDaoImpl();
        System.out.println(od.findall());*/


        //Timestamp oTime, Integer oNumber, BigDecimal tolPrice, String status, Integer ctmid, Integer strid
//        od.insert(new Order(new Timestamp(System.currentTimeMillis()), 1, new BigDecimal("11.11"), "已确认", 1, 2));

    }
}
